package com.it.taoyidian.service.impl;

import com.it.taoyidian.entity.ProductEntity;
import com.it.taoyidian.mapper.ProductMapper;
import com.it.taoyidian.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("productService")
public class ProductServiceImpl implements IProductService {
    @Autowired
    private ProductMapper productMapper;

    @Override
    public ProductEntity findProductDetail(Integer productId) {
        return productMapper.findProductDetail(productId);
    }
}
